﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace Quản_Lý_Thư_Viện
{
    class PhieunhapsachControl
    {
        private PhieunhapsachDataAccess pnsdata = new PhieunhapsachDataAccess();
        public void insertphieunhapsach(PhieunhapsachInfo info)
        {
            pnsdata.insertphieunhapsach(info);
        }
        public void updatephieunhapsach(PhieunhapsachInfo info)
        {
            pnsdata.updatephieunhapsach(info);

        }
        public void deletephieunhapsach(PhieunhapsachInfo info)
        {
            pnsdata.deletephieunhapsach(info);

        }
        public DataTable laydspns()
        {
            return pnsdata.laydspns();
        }
        public DataTable timpns()
        {
            return pnsdata.timpns();
        }
    }
}
